package com.huike.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author Lwen
 * @since 2019-12-10
 */
public class Admin implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.UUID)
    private String id;

    /**
     * 管理员唯一id/证书id
     */
    @TableField("uid")
    private String uid;

    /**
     * 成员头像
     */
    @TableField("logo_url")
    private String logoUrl;

    /**
     * 加入时间
     */
    @TableField("join_time")
    private Date joinTime;

    /**
     * 职位
     */
    @TableField("position")
    private String position;

    @TableField("username")
    private String username;

    @TableField("password")
    private String password;

    /**
     * 成员介绍
     */
    @TableField("context")
    private String context;

    /**
     * 证书地址
     */
    @TableField("certificate")
    private String certificate;

    /**
     * 管理员级别
     */
    @TableField("gride")
    private String gride;

    @TableField("remark")
    private String remark;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }
    public String getLogoUrl() {
        return logoUrl;
    }

    public void setLogoUrl(String logoUrl) {
        this.logoUrl = logoUrl;
    }
    public Date getJoinTime() {
        return joinTime;
    }

    public void setJoinTime(Date joinTime) {
        this.joinTime = joinTime;
    }
    public String getPosition() {
        return  position;
    }

    public void setPosition(String position) {
        this.position = position;
    }
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }
    public String getCertificate() {
        return certificate;
    }

    public void setCertificate(String certificate) {
        this.certificate = certificate;
    }
    public String getGride() {
        return gride;
    }

    public void setGride(String gride) {
        this.gride = gride;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "Admin{" +
                "id=" + id +
                ", uid=" + uid +
                ", logoUrl=" + logoUrl +
                ", joinTime=" + joinTime +
                ", position=" + position +
                ", username=" + username +
                ", password=" + password +
                ", context=" + context +
                ", certificate=" + certificate +
                ", gride=" + gride +
                ", remark=" + remark +
                "}";
    }
}